home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A bullseye effect',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.210129,0.113506,0.80819,0.91092),
- 'Darkness': 0,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (255,255,0),
- 'Material': App.Constants.LensFrameMaterial.BeigePlastic,
- 'Style': App.Constants.LensFrameShape.RoundedSquare,
- 'Thickness': 18
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (255,255,255),
- 'LightDirection': (0,0,-1),
- 'HighlightSize': 0
- },{
- 'LightColor': (0,255,0),
- 'LightDirection': (0,0,-1),
- 'HighlightSize': 48
- }],
- 'MaxAmbience': 100,
- 'MinAmbience': 0
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 100,
- 'Magnification': 61,
- 'LensMaterial': {
- 'Color': (0,0,255),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 100,
- 'Refraction': 0,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 80
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-